<div class="orderParts view">
<h2><?php  __('Order Part');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $orderPart['OrderPart']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Part'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($orderPart['Part']['name'], array('controller' => 'parts', 'action' => 'view', $orderPart['Part']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Order'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($orderPart['Order']['id'], array('controller' => 'orders', 'action' => 'view', $orderPart['Order']['id'])); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Order Part', true), array('action' => 'edit', $orderPart['OrderPart']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Order Part', true), array('action' => 'delete', $orderPart['OrderPart']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $orderPart['OrderPart']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Order Parts', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Order Part', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Parts', true), array('controller' => 'parts', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Part', true), array('controller' => 'parts', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Orders', true), array('controller' => 'orders', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Order', true), array('controller' => 'orders', 'action' => 'add')); ?> </li>
	</ul>
</div>
